//
//  MainViewController.h
//  LoveListen
//
//  Created by 王喆 on 15/6/30.
//  Copyright (c) 2015年 王喆. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AFNetworking.h"
#import "UIImageView+WebCache.h"
#define kScreenSize [UIScreen mainScreen].bounds.size

@interface MainViewController : UIViewController
{
    
    AFHTTPRequestOperationManager *_manager;
    UITableView *_tableView;
    NSMutableArray *_dataArr;
    NSInteger _currentPage;
    BOOL _isRefreshing;
    BOOL _isLoadMore;
}
@property (nonatomic)BOOL isRefreshing;
@property (nonatomic)BOOL isLoadMore;
@property (nonatomic,strong) UITableView *tableView;
@property (nonatomic,strong) NSMutableArray *dataArr;
@property (nonatomic) NSInteger currentPage;

-(void)creatRefreshView;
-(void)endRefreshing;
-(void)firstDownload;
- (void)addTaskWithUrl:(NSString *)url isRefresh:(BOOL)isRefresh;



@end
